export default {
  data() {
    return {
      num: 1
    }
  },
  created() {
    // console.log('created', this.num)
  },
  methods: {
    add() {
      this.num++
    },
    setBtn(code) {
      return this.$store.state.user.userInfo.roles && this.$store.state.user.userInfo.roles.points.includes(code)
    }
  }
}
